import request from '@/utils/request'

// 查询DiseaseDoctorMiddle列表
export function listDiseaseDoctorMiddle(query) {
  return request({
    url: '/doctor/DiseaseDoctorMiddle/list',
    method: 'get',
    params: query
  })
}

// 查询DiseaseDoctorMiddle详细
export function getDiseaseDoctorMiddle(id) {
  return request({
    url: '/doctor/DiseaseDoctorMiddle/' + id,
    method: 'get'
  })
}

// 新增DiseaseDoctorMiddle
export function addDiseaseDoctorMiddle(data) {
  return request({
    url: '/doctor/DiseaseDoctorMiddle',
    method: 'post',
    data: data
  })
}

// 修改DiseaseDoctorMiddle
export function updateDiseaseDoctorMiddle(data) {
  return request({
    url: '/doctor/DiseaseDoctorMiddle',
    method: 'put',
    data: data
  })
}

// 删除DiseaseDoctorMiddle
export function delDiseaseDoctorMiddle(id) {
  return request({
    url: '/doctor/DiseaseDoctorMiddle/' + id,
    method: 'delete'
  })
}
